// 自动生成模板Goods
package business

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 物品管理 结构体  Goods
type Goods struct {
	global.GVA_MODEL
	UserId    int    `json:"userId" form:"userId" gorm:"column:user_id;comment:用户ID;size:12;" excel:"name:用户ID;place:A"  verify:"用户"` //用户ID
	NickName  string `json:"nickName" form:"nickName" gorm:"column:nick_name;comment:用户昵称;size:8;" excel:"name:用户昵称;place:B"`         //用户昵称
	GoodsName string `json:"goodsName" form:"goodsName" gorm:"column:goods_name;comment:物品名称;size:32;" excel:"name:物品名称;place:C"`     //物品名称
	GoodsUuid string `json:"goodsUuid" form:"goodsUuid" gorm:"column:goods_uuid;comment:编号;size:32;" excel:"name:物品编号;place:D"`       //编号
	Describe  string `json:"describe" form:"describe" gorm:"column:describe;comment:物品描述;size:200;"`                                  //物品描述
}

// TableName 物品管理 Goods自定义表名 goods
func (Goods) TableName() string {
	return "goods"
}
